package wsz.rocketMq.conf;

import java.io.Serializable;
import java.util.Date;

/**
 * rocketMq消息体
 * @author wsz
 * @date 2022/3/2 11:07
 **/
public class MqMessage implements Serializable {
    private String id;
    private Long phoneId;
    private String msg;

    private Date createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getPhoneId() {
        return phoneId;
    }

    public void setPhoneId(Long phoneId) {
        this.phoneId = phoneId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "MqMessage{" +
                "id='" + id + '\'' +
                ", phoneId=" + phoneId +
                ", msg='" + msg + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
